<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
    <ol class="breadcrumb breadcrumb-cus">
        <li><a href="/"><?php echo __d('default','Trang chủ');?></a></li>
        <li><a href="<?php echo $this->Html->url(array('plugin'=>'View','controller'=>'View','action'=>'faqs'));?>"><?php echo __d('default','Tư vấn');?></a></li>
        <li class="active"><?php echo $nodeType['NodeType']['name'];?></li>
    </ol>
    <!-- block 2 -->
    <div class="block-tab">
        <div class="tabpanel-cus">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs mytabs-cus mytabs-nbdcus">
                <li class="item item-onl-tab active"><a href="#item-11" data-toggle="tab">CÂU HỎI THƯỜNG GẶP</a></li>
            </ul>
            <!-- Tab panes -->
            <div class="tab-content">
                <div class="tab-pane-bgtop" id="item-11">
                    <div class="tabs-pane-content-full pt30">
                        <div class="tabpanel-cus-chl">
                            <!-- Nav tabs child -->
                            <ul class="nav nav-tabs mytabs-cus-chl mytabs-cus-chl-respsv">
                                <?php $i=1; $classActive = '';foreach($term as $key => $values):?>
                                    <?php if($termAlias==$values['Term']['alias']) $classActive = 'active';?>
                                    <li class="item <?php echo $classActive;?>"><a href="<?php echo $this->Html->url(array('plugin'=>'View','controller'=>'View','action'=>'faqs',$values['Term']['alias']));?>"><?php echo $values['Term']['name'];?></a></li>
                                    <?php $classActive='';$i++;endforeach;?>
                                <?php if(empty($termAlias)) $classActive = 'active';?>
                                <li class="item <?php echo $classActive;?>"><a href="javascript:void(0)"><?php echo __d('default','Tất cả');?></a></li>
                            </ul>
                            <!-- Tab panes child-->
                            <div class="tab-content">
                                <?php if(!empty($content)):?>
                                    <div class="tab-pane-bgtop-chl">
                                        <div class="tabs-pane-content-full">
                                            <!-- accordion content-->
                                            <div class="panel-group arccodion-list-cus" id="accordion" role="tablist" aria-multiselectable="true">
                                                <?php foreach($content as $key => $values):?>
                                                    <div class="panel panel-default">
                                                        <div class="panel-heading" role="tab">
                                                            <h4 class="panel-title">
                                                                <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapse<?php echo $values['Node']['id'];?>" aria-expanded="true" aria-controls="collapseOne"><?php echo $values['Node']['title'];?></a>
                                                            </h4>
                                                        </div>
                                                        <div id="collapse<?php echo $values['Node']['id'];?>" class="panel-collapse collapse" role="tabpanel">
                                                            <div class="pannel-body-ct"><?php echo $values['Node']['field_body'];?></div>
                                                        </div>
                                                    </div>
                                                    <?php endforeach;?>
                                            </div>
                                            <!-- accordion content .end-->
                                        </div>
                                    </div>
                                    <?php endif;?>
                            </div>
                            <div class="paging-ct">
                                <ul class="pagination">
                                    <?php echo $this->Paginator->numbers(array('separator' => '&nbsp;','tag' => 'li','currentClass' => 'active')); ?>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- block 2 .end -->
</div>